<div id="topmenu">
<ul>
  <!--{foreach ($topmenu as $val)}-->
  <li><a href="<!--{$val[url]}-->"><!--{$val[name]}--></a></li>
  <!--{/foreach}-->
</ul>
</div>